package org.example.buysystem.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.buysystem.entity.LoginForm;
import org.example.buysystem.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select  * from sys_user where username=#{username} and password=#{password}")

    User selectloginuser(LoginForm loginForm);
}
